<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/jquery.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-transition.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-alert.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-modal.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-dropdown.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-scrollspy.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-tab.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-tooltip.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-popover.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-button.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-collapse.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-carousel.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-typeahead.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/application.js' ?>"></script>
<script  src="<?php echo base_url() . 'bootstrap/docs/assets/js/bootstrap-datepicker.js' ?>"></script>

<script >
     $(document).ready(function(){
          $('input').hover(function()
          {
               $(this).popover('show')
          });
     });

     window.onload = function()
     {
          if(!window.jQuery)
          {
               alert('jQuery not loaded');
          }
          else
          {
               $(document).ready(function(){
                    $('#tooltip').tooltip({'placement':'top', 'trigger' : 'hover'});
               });
          }
     }


     $(function(){
          window.prettyPrint && prettyPrint();
          $('#tanggal').datepicker({
               format: 'yyyy-mm-dd'
          });
     });
</script>